import { Entity, PrimaryGeneratedColumn, Column } from 'typeorm';

@Entity()
export class Hero {
  @PrimaryGeneratedColumn()
  id: number;

  @Column()
  name: string;

  @Column()
  landingDate: Date;

  @Column()
  versionStrength: string;

  @Column('json')
  heroLocation: string[];

  @Column('json')
  posters: string[];
}
